using System;

namespace Sustainalytics.ESGRatings.BusinessLogic.Computing.Exceptions
{
    /// <summary>
    /// When company id not found in company set
    /// </summary>
    public class UnknownCompanyException : ComputeException
    {
        public UnknownCompanyException(Guid companyId)
        {
            CompanyId = companyId;
        }

        public Guid CompanyId { get; private set; }

        public override string Message
        {
            get
            {
                return string.Format("Unknown company: {0}.", CompanyId);
            }
        }
    }
}